package com.gbb.common.utils;

import android.widget.Toast;

import com.gbb.common.AppUtils;

/**
 * Toast提示
 *
 * @author gaobingbing
 */
public final class ToastUtil {

    private ToastUtil() {
    }

    public static void showToast(String text) {
        Toast.makeText(AppUtils.get(),text,Toast.LENGTH_SHORT).show();
    }

    public static void showToast(int textId) {
        Toast.makeText(AppUtils.get(),textId,Toast.LENGTH_SHORT).show();
    }

}
